package com.action.diary;

import com.db.diary.DiaryManager;

public class DiaryDeleteAction {
	private int diary_num;
	public void setDiary_num(int diary_num) {
		this.diary_num = diary_num;
	}
	
	public String execute() throws Exception{
		System.out.println("================ DiaryDeleteAction ================");
		System.out.println("diary_num = " + diary_num);
		DiaryManager.diaryDelete(diary_num);
		return "success";
	}
}
